﻿@model Pro260Website.Models.ListingViewModel<Domain.Entity.Game>

@{
    Layout = null;
}

<div id="updateItem">
    @foreach(var game in Model.Items)
    {
        Html.RenderPartial("GameSummary", game); <br/>
    }
    
    <div id="pagerForm" class="pager @Html.GetColor(Request.Cookies["color"])">
        @Html.PageLinks(Model.PagingInfo, i => Url.Action("List", "Game", new { searchFor = Model.QueryInfo.QueryString, page = i, pageSize = Model.PagingInfo.ItemsPerPage }))
    </div>  
</div> 
